package com.task.controller.manager.impl;

import com.task.controller.entity.Mission;
import com.task.controller.manager.AbstractManager;

/**
 * 永远只挂在异步的方法管理类
 */
public class AsyncMethodManager extends AbstractManager<String, Mission> {

    private static AsyncMethodManager asyncMethodManager = new AsyncMethodManager();

    private AsyncMethodManager() {
        super();
    }

    public static AsyncMethodManager getInstance() {
        if (asyncMethodManager == null) {
            asyncMethodManager = new AsyncMethodManager();
        }
        return asyncMethodManager;
    }
}
